class NetRespEntity {
  dynamic data;
  dynamic code;
  String message = "";
  dynamic referCode;
  String referMsg = "";

  NetRespEntity({this.data, this.code, required this.message, required this.referCode,required this.referMsg});

  NetRespEntity.fromJson(Map<String, dynamic> json) {
    if (json['data'] != null && json['data'] != 'null') {
      data = json['data'];
    }
    code = json['code'];
    referCode = json['referCode'];
    if (json['msg'] != null && json['msg'] != 'null') {
      message = json['msg'];
    }
    if (json['referMsg'] != null && json['referMsg'] != 'null') {
      referMsg = json['referMsg'];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['data'] = this.data;
    data['code'] = code;
    data['msg'] = message;
    data['referCode'] = referCode;
    data['referMsg'] = referMsg;
    return data;
  }
}